package com.zx.crowdfunding.entity;

public class Auth {
    private Integer id;

    private Integer pid;

    private String name;

    private String code;
    
    private String type;
    
    private Integer orderNum;
    
    private Boolean open;
    
    private Boolean checked;

    public Auth() {}

	public Auth(Integer id, Integer pid, String name, String code, String type, Integer orderNum,
			Boolean open, Boolean checked) {
		super();
		this.id = id;
		this.pid = pid;
		this.name = name;
		this.code = code;
		this.type = type;
		this.orderNum = orderNum;
		this.open = open;
		this.checked = checked;
	}

	@Override
	public String toString() {
		return "Auth [id=" + id + ", pid=" + pid + ", name=" + name + ", code="
				+ code + ", type=" + type + ", orderNum=" + orderNum + ", open=" + open + ", checked=" + checked + "]";
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Boolean getOpen() {
		return open;
	}

	public void setOpen(Boolean open) {
		this.open = open;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}
}